package com.yugao.fintech.antelope.gateway.config;

import com.yugao.fintech.antelope.base.model.constants.CommonCons;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

@Data
@ConfigurationProperties(prefix = CommonCons.PROPERTIES_PREFIX + "gateway.files")
public class UploadFileProperties {
    private List<String> bizUrls = new ArrayList<>();

    /**
     * 业务类型
     */
    private String bizType;

    /**
     * 业务类型map, key: url, value: bizType
     */
    public static final Map<String, String> bizTypeMap = new ConcurrentHashMap<>();

}
